<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 算数</title>
</head>
<body>
<h1>运算符优先级</h1>
<p>运算符优先级（Operator precedence）描述了在算术表达式中所执行操作的顺序。</p>

<p id="demo"></p>

<script>
  document.getElementById("demo").innerHTML = 200 + 50 * 2;
</script>

<!--乘法（*）和除法（%）比加法（+）和减法（-）拥有更高的优先级。()优先级高-->
</body>
</html>